<ti-formfield>
  <ti-item [label]="'国家'" [required]="true">
    <input type="text" tiText [(ngModel)]="contryValue" />
  </ti-item>
  <ti-item [label]="'性别'" [required]="true">
    <input type="text" tiText [(ngModel)]="sexValue" />
  </ti-item>
  <ti-item [label]="'身份证号码'" [required]="true">
    <input type="text" tiText [(ngModel)]="IDValue" />
  </ti-item>
  <ti-item [label]="'Email'" [required]="true">
    <input type="text" tiText [(ngModel)]="emailValue" />
  </ti-item>
  <ti-item [label]="'昵称'" [required]="nickRequired">
    <input type="text" tiText [(ngModel)]="nickValue" />
  </ti-item>
  <ti-button-item>
    <button class="mr-3" type="button" color="danger" tiButton>确认</button>
    <button type="button" tiButton>取消</button>
  </ti-button-item>
</ti-formfield>
<button class="mr-3 mt-5" type="button" color="primary" tiButton (click)="changeState()">改变选择框必填状态</button>
